package com.flybutter.usagelab.repository

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query

@Dao
interface ScreenUsageDao {

    @Insert
    fun insert(screenUsageInfo: ScreenUsageInfo)

    @Query("SELECT * FROM screen_usage")
    fun findAll(): List<ScreenUsageInfo>

}